<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第五课 基础指令</title>
    <script src="./vue.js"></script>
</head>
<body>
    <div id="app">
        <div v-show="flag">星星课堂</div>
        <div v-if="showFlag">xingxingclassroom</div>
    </div>
    <script>
        new Vue({
            el:'#app',
            data:{
                flag:true,
                showFlag:false
            }
        })
    </script>
</body>
</html>